import Service from './Service'
// 获取所有用户数据
export function getUsers (url) {
  return Service({
    method: 'get',
    url: url
  })
}
// 根据id获取用户详情
export function getUserInfoById (url, data) {
  return Service({
    method: 'get',
    url: url + '/' + data
  })
}
